body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /*禁止选中文本*/
    user-select: none;
    font-family: "方正正粗黑简体", "FZZhengHeiS-B-GB", sans-serif;
}

.container {
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.round-info {
    position: absolute;
    right: 12.5%;
    top: 13%;
    transform: none;
    font-size: 40px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    gap: 20px;
    background: linear-gradient(180deg,
        #fff100 0%,
        #ffd233 50%,
        #ff9000 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(255, 50, 0, 0.3));
    font-family: "方正正粗黑简体", "FZZhengHeiS-B-GB", sans-serif;
}

#roundNumber {
    display: inline-block;
    font-size: 40px;
    margin: 0 5px;
    font-weight: 900;
    background: linear-gradient(180deg,
        #fff100 0%,
        #ffd233 50%,
        #ff9000 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "方正正粗黑简体", "FZZhengHeiS-B-GB", sans-serif;
}

.result-box {
    position: absolute;
    right: 5.5%;
    top: 20%;
    transform: translateY(-5%);
    width: 750px;
    height: 670px;
    background-color: transparent;
    padding: 30px 15px;
    color: #d4363b;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.winners-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 4px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.winner-item {
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: -0.8px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 1px;
    margin: 0;
    font-family: "方正正粗黑简体", "FZZhengHeiS-B-GB", sans-serif;
}

/* 三列布局 */
.three-columns .winner-item {
    width: 31%;
}

/* 两列布局 */
.two-columns .winner-item {
    width: 47%;
}

/* 单列布局 */
.one-column .winner-item {
    width: 100%;
    font-size: 40px;
    padding: 2px 1px;
}

/* 调整不同布局的间距 */
.three-columns .winners-wrapper {
    gap: 8px 4px;
}

.two-columns .winners-wrapper {
    gap: 12px 20px;
}

.one-column .winners-wrapper {
    gap: 12px 0;
}

#prizeTitle, #prizeCount {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
}

.result-box::-webkit-scrollbar {
    width: 4px;
}

.result-box::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

.result-box::-webkit-scrollbar-thumb {
    background: rgba(212, 54, 59, 0.3);
    border-radius: 2px;
}

.fireworks-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: explode 1.2s ease-out forwards;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: spread 1s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: scale(1.5);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes spread {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
    }
}
